
export default [
  // home
  {
    name: 'Home',
    path: '/home',
    component: () => import('../pages/Home/'),
  },

  // 注册
  {
    name: 'Register',
    path: '/register',
    models: () => [import('../models/register')],

    component: () => import('../pages/Register/'),
  },
  
  // 忘记密码
  {
    name: 'ForgetPassword',
    path: '/forgetPassword',
    models: () => [import('../models/forgetPassword')],
    component: () => import('../pages/ForgetPassword/'),
  },

  // 登录
  {
    name: 'Login',
    path: '/login',
    component: () => import('../pages/Login/'),
  },

  // 会员管理
  {
    name: 'MemberManagerment',
    path: '/member-management',
    models: () => [import('../models/member')],
    component: () => import('../pages/member/'),
  },


  {
    name: 'AddressList',
    path: '/addressList',
    models: () => [import('../models/addressList')],
    component: () => import('../pages/AddressList/'),
  },

  {
    name: 'Expenditure',
    path: '/expenditure',
    models: () => [import('../models/expenditure')],
    component: () => import('../pages/Expenditure/'),
  },

  {
    name: 'AddExpenditure',
    path: '/addExpenditure',
    models: () => [import('../models/expenditure')],
    component: () => import('../pages/Expenditure/AddExpenditure'),
  },

  {
    name: 'ExpenditureDetails',
    path: '/expenditureDetails/:id',
    models: () => [import('../models/expenditure')],
    component: () => import('../pages/Expenditure/ExpenditureDetails'),
  },

  {
    name: 'Activity',
    path: '/activity',
    models: () => [import('../models/activity')],
    component: () => import('../pages/Activity'),
  },

  // 活动详情
  {
    name: 'ActivityDetails',
    path: '/activityDetails/:id',
    models: () => [import('../models/activity')],
    component: () => import('../pages/Activity/ActivityDetail'),
  },

  // 添加活动
  {
    name: 'AddActivity',
    path: '/addActivity',
    models: () => [import('../models/activity')],
    component: () => import('../pages/Activity/AddActivity'),
  },

  {
    name: 'ItemsBorrowed',
    path: '/itemsBorrowed',
    models: () => [import('../models/itemsBorrowed')],
    component: () => import('../pages/ItemsBorrowed'),
  },

  {
    name: 'ItemsBorrowedDetails',
    path: '/itemsBorrowedDetails/:id',
    models: () => [import('../models/itemsBorrowed')],
    component: () => import('../pages/ItemsBorrowed/ItemsBorrowedDetails'),
  },

  {
    name: 'AddItemsBorrowed',
    path: '/addItemsBorrowed',
    models: () => [import('../models/itemsBorrowed')],
    component: () => import('../pages/ItemsBorrowed/AddItemsBorrowed'),
  },

  // 创建组织架构
  {
    name: 'Organization',
    path: '/organization',
    models: () => [import('../models/organization')],
    component: () => import('../pages/Organization'),
  },

  // 社团管理: 成员管理
  {
    name: 'OrganizationMember',
    path: '/organization/member',
    models: () => [
      import('../models/member'),
      import('../models/department'),
      import('../models/jobs'),
      import('../models/roles'),
    ],
    component: () => import('../pages/Organization/Member'),
  },

  // 社团管理: 部门管理
  {
    name: 'OrganizationDepartment',
    path: '/organization/department',
    models: () => [
      import('../models/organization/department'),
      import('../models/organization/job'),
      import('../models/organization/role'),
    ],
    component: () => import('../pages/Organization/Department'),
  },

  // 组织架构提示页面
  {
    name: 'OrganizationAlert',
    path: '/organization/alert',
    models: () => [import('../models/organization')],
    component: () => import('../pages/Organization/Alert'),
  },

  // 加入组织
  {
    name: 'JoinOrganization',
    path: '/joinorganization',
    models: () => [import('../models/organization')],
    component: () => import('../pages/Organization/Join'),
  },

  // 创建组织
  {
    name: 'CreateOrganization',
    path: '/createorganization',
    models: () => [import('../models/organization')],
    component: () => import('../pages/Organization/Create'),
  },

  {
    name: 'Repository',
    path: '/repository',
    models: () => [import('../models/repository')],
    component: () => import('../pages/Repository'),
  },

  {
    name: 'Examine',
    path: '/examine',
    models: () => [import('../models/examine')],
    component: () => import('../pages/Examine'),
  },

  {
    name: 'ExamineItemSborrowedDetails',
    path: '/examine/itemsBorrowedDetails/:id/',
    models: () => [import('../models/examine')],
    component: () => import('../pages/Examine/ExamineBorrowed'),
  },

  {
    name: 'ExamineExpenditureDetails',
    path: '/examine/expenditureDetails/:id',
    models: () => [import('../models/examine')],
    component: () => import('../pages/Examine/ExamineExpenditureDetail'),
  },

  {
    name: 'ExamineActivityDetails',
    path: '/examine/activityDetails/:id',
    models: () => [import('../models/examine')],
    component: () => import('../pages/Examine/ExamineActivityDetail'),
  },

  {
    name: 'AccountManagement',
    path: '/account',
    models: () => [import('../models/accountManagement')],
    component: () => import('../pages/AccountManagement'),
  },

  {
    name: 'AccountManagementBaseInfo',
    path: '/accountManagement/baseInfo',
    models: () => [import('../models/accountManagement')],
    component: () => import('../pages/AccountManagement/BaseInfo'),
  },

  {
    name: 'AccountManagementMyMember',
    path: '/accountManagement/myMember',
    models: () => [import('../models/accountManagement')],
    component: () => import('../pages/AccountManagement/MyMember'),
  },

  {
    name: 'AccountManagementChangePassword',
    path: '/accountManagement/changePassword',
    models: () => [import('../models/forgetPassword')],
    component: () => import('../pages/AccountManagement/ChangePassword'),
  },

  {
    name: 'SatisfactionSurvey',
    path: '/satisfactionSurvey',
    models: () => [import('../models/satisfactionSurvey')],
    component: () => import('../pages/SatisfactionSurvey'),
  },

  {
    name: 'AddSatisfactionSurvey',
    path: '/addSatisfactionSurvey',
    models: () => [import('../models/satisfactionSurvey')],
    component: () => import('../pages/SatisfactionSurvey/AddSatisfactionSurvey'),
  },

  {
    name: 'ForStatistics',
    path: '/forStatistics',
    models: () => [import('../models/statistics/ForStatistics')],
    component: () => import('../pages/Statistics/ForStatistics'),
  },

  {
    name: 'ActivityStatistics',
    path: '/activityStatistics',
    models: () => [import('../models/statistics/ActivityStatistics')],
    component: () => import('../pages/Statistics/ActivityStatistics'),
  },

  {
    name: 'PersonnelStatistics',
    path: '/personnelStatistics',
    models: () => [import('../models/statistics/PersonnelStatistics')],
    component: () => import('../pages/Statistics/PersonnelStatistics'),
  },

  {
    name: 'RecruitnewStatisticsDataStatistics',
    path: '/recruitnewStatistics/dataStatistics',
    models: () => [import('../models/statistics/RecruitnewStatistics/RecruitnewStatisticsDataStatistics')],
    component: () => import('../pages/Statistics/RecruitnewStatistics/RecruitnewStatisticsDataStatistics'),
  },

  {
    name: 'RecruitnewStatisticsUploadTableFile',
    path: '/recruitnewStatistics/uploadTableFile',
    models: () => [import('../models/statistics/RecruitnewStatistics/RecruitnewStatisticsUploadTableFile')],
    component: () => import('../pages/Statistics/RecruitnewStatistics/RecruitnewStatisticsUploadTableFile'),
  },

  {
    name: 'RecruitnewStatisticsPersonDetails',
    path: '/recruitnewStatistics/personDetails',
    models: () => [import('../models/statistics/RecruitnewStatistics/RecruitnewStatisticsPersonDetails')],
    component: () => import('../pages/Statistics/RecruitnewStatistics/RecruitnewStatisticsPersonDetails'),
  },

  {
    name: 'SatisfactionStatistics',
    path: '/satisfactionStatistics',
    models: () => [import('../models/statistics/SatisfactionStatistics/SatisfactionStatisticsList')],
    component: () => import('../pages/Statistics/SatisfactionStatistics/SatisfactionStatisticsList'),
  },

  {
    name: 'SatisfactionStatisticsDetails',
    path: '/satisfactionStatistics/details/:id',
    models: () => [import('../models/statistics/SatisfactionStatistics/SatisfactionStatisticsDetails')],
    component: () => import('../pages/Statistics/SatisfactionStatistics/SatisfactionStatisticsDetails'),
  },

  {
    name: 'NewMediaStatistics',
    path: '/newmediaStatistics',
    models: () => [import('../models/statistics/NewmediaStatistics/NewmediaStatisticsCartogram')],
    component: () => import('../pages/Statistics/NewmediaStatistics/NewmediaStatisticsCartogram'),
  },

  {
    name: 'StarRating',
    path: '/starRating',
    models: () => [import('../models/statistics/StarRating/StarRatingRanking')],
    component: () => import('../pages/Statistics/StarRating/StarRatingRanking'),
  },

  {
    name: 'StarRatingHandMove',
    path: '/starRating/handMove',
    models: () => [import('../models/statistics/StarRating/StarRatingHandMove')],
    component: () => import('../pages/Statistics/StarRating/StarRatingHandMove'),
  },

];

